﻿@model IEnumerable<shop.SanPham>
  @{
      ViewBag.title = ViewBag.ten;
  }
<div class="products-home">
    <ul class="products-grid row">
        @foreach(var i in Model)
        {
          <li class="item first span3">
                <div class="products-box">


                    <div class="view view-third">
                        <img alt="@i.TenSP" src="/images/sanpham/@i.HinhAnh">
                        <div class="mask">
                            <h2>@i.TenSP</h2>
                            <br />
                            <p style="font-size: 25px">Giá: @String.Format("{0:0,0 đ}", i.Gia)</p>
                            <a href="/sanpham/chitiet?MaSP=@i.MaSP" class="info">Xem chi tiết</a>
                        </div>
                    </div>

                    <div class="price-action">
                        <div class="price-box">
                            <span class="regular-price" id="product-price-44">
                                <span class="price">@i.TenSP </span>
                            </span>
                        </div>
                    </div>
                </div>
            </li>  
        }
        
    </ul>
</div>
@Html.Action("LienKet","Partial")